package com.luyuan.gallery.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.luyuan.common.annotation.Excel;
import com.luyuan.common.core.domain.BaseEntity;

/**
 * 作品对象 exhi_artwork
 * 
 * @author luyuan
 * @date 2025-11-13
 */
public class ExhiArtwork extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 作品ID */
    private Long artworkId;

    /** 作品标题 */
    @Excel(name = "作品标题")
    private String title;

    /** 艺术家ID */
    @Excel(name = "艺术家ID")
    private Long artistId;

    /** 作品描述 */
    @Excel(name = "作品描述")
    private String description;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 详细图片（JSON格式） */
    @Excel(name = "详细图片", readConverterExp = "J=SON格式")
    private String detailImages;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    /** 尺寸 */
    @Excel(name = "尺寸")
    private String dimensions;

    /** 创作年份 */
    @Excel(name = "创作年份")
    private Long yearCreated;

    /** 状态（0-草稿，1-已发布，2-已下架） */
    @Excel(name = "状态", readConverterExp = "0=-草稿，1-已发布，2-已下架")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    public void setArtworkId(Long artworkId) {
        this.artworkId = artworkId;
    }

    public Long getArtworkId() {
        return artworkId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setArtistId(Long artistId) {
        this.artistId = artistId;
    }

    public Long getArtistId() {
        return artistId;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setDetailImages(String detailImages) {
        this.detailImages = detailImages;
    }

    public String getDetailImages() {
        return detailImages;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setDimensions(String dimensions) {
        this.dimensions = dimensions;
    }

    public String getDimensions() {
        return dimensions;
    }

    public void setYearCreated(Long yearCreated) {
        this.yearCreated = yearCreated;
    }

    public Long getYearCreated() {
        return yearCreated;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setSortOrder(Long sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("artworkId", getArtworkId())
                .append("title", getTitle())
                .append("artistId", getArtistId())
                .append("description", getDescription())
                .append("coverImage", getCoverImage())
                .append("detailImages", getDetailImages())
                .append("category", getCategory())
                .append("dimensions", getDimensions())
                .append("yearCreated", getYearCreated())
                .append("status", getStatus())
                .append("sortOrder", getSortOrder())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
